package com.eee.xiang.market.service;

import com.eee.xiang.market.beans.OperateResponse;
import com.eee.xiang.market.beans.TCargo;
import com.eee.xiang.market.common.TableData;
import org.springframework.web.multipart.MultipartFile;

public interface ICargoService {

    TableData getAllCargoList(int page, int pageSize);

    OperateResponse uploadImg(MultipartFile uploadImg);

    OperateResponse saveCargo(TCargo cargoForm);

    OperateResponse getDetailCargo();

    OperateResponse delCargo(String cargoId);
}
